function personalcenter(){
    return this;
}
var controlFns = {
    index : function(){
        var mSelf = this;
        //return mSelf.redirectTo('/user/login/', true);
        this.personalcentercontent();
    },
    personalcentercontent : function(args){

        var php = {
                'hotlist' : 'store::/topic/index',
                'topicinfo' : 'store::/topic/info'
            };
            var mSelf = this;
            this.setSDefault(php);
            this.bridgeMuch(php);
            this.listenOver(function(data){

                data.condition = this.req.__get;
                //console.log(data.condition);

                //data.groupPg = {};
                //data.groupPg.total_num = 2000;
                //data.groupPg.page_size = 10;
                //data.groupPg.current_page = page;

                data._CSSLinks = ['h5/css/suggestions'];
                data._JSLinks  = ['h5/min/suggestions'];
                data.pageTitle = '个人';
                mSelf.render('personalcenter/suggestions.html', data);
            });
    },
    personalcenter_apis: function(params){
        var php = {
            'suggestions' : 'store::/site/advise'

        };
        this.ajaxTo(php[params]);
    },

    aboutuscontent:function(args){

        var php = {
            'hotlist' : 'store::/topic/index',
            'topicinfo' : 'store::/topic/info'
        };
        var mSelf = this;
        this.setSDefault(php);
        this.bridgeMuch(php);
        this.listenOver(function(data){

            data.condition = this.req.__get;
            //console.log(data.condition);

            //data.groupPg = {};
            //data.groupPg.total_num = 2000;
            //data.groupPg.page_size = 10;
            //data.groupPg.current_page = page;

            data._CSSLinks = ['h5/css/aboutus'];
            //data._JSLinks  = ['h5/min/aboutus'];
            data.pageTitle = '个人';
            mSelf.render('personalcenter/aboutus.html', data);
        });
    },
    questionscontent:function(args){

        var php = {
            //'hotlist' : 'store::/topic/index',
            //'topicinfo' : 'store::/topic/info'
        };
        var mSelf = this;
        this.setSDefault(php);
        this.bridgeMuch(php);
        this.listenOver(function(data){

            data.condition = this.req.__get;
            //console.log(data.condition);

            //data.groupPg = {};
            //data.groupPg.total_num = 2000;
            //data.groupPg.page_size = 10;
            //data.groupPg.current_page = page;

            data._CSSLinks = ['h5/css/questions'];
            //data._JSLinks  = ['h5/min/questions'];
            data.pageTitle = '问题';
            mSelf.render('personalcenter/questions.html', data);
        });
    },
    contactuscontent:function(args){

        var php = {
            //'hotlist' : 'store::/topic/index',
            //'topicinfo' : 'store::/topic/info'
        };
        var mSelf = this;
        this.setSDefault(php);
        this.bridgeMuch(php);
        this.listenOver(function(data){

            data.condition = this.req.__get;
            //console.log(data.condition);

            //data.groupPg = {};
            //data.groupPg.total_num = 2000;
            //data.groupPg.page_size = 10;
            //data.groupPg.current_page = page;

            data._CSSLinks = ['h5/css/contactus'];
            //data._JSLinks  = ['h5/min/contactus'];
            data.pageTitle = '联系我们';
            mSelf.render('personalcenter/contactus.html', data);
        });
    }


};
exports.__create = controller.__create(personalcenter , controlFns);
